home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3cube.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_CUBE_H = 1;
- include("oops/r3vector.js")
- include("real/objects/r3prim.js")
-
-
- var R3CLID_CUBE = 152;
-
-
-
-
- R3CUBEA_P0 = 152501;
- function SetR3CUBEA_P0(value) {
- R3Set(this.r3obj, R3CUBEA_P0, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CUBEA_P0() {
- return R3Get(this.r3obj, R3CUBEA_P0, R3TID_VECTOR, 0);
- }
-
- R3CUBEA_P1 = 152502;
- function SetR3CUBEA_P1(value) {
- R3Set(this.r3obj, R3CUBEA_P1, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CUBEA_P1() {
- return R3Get(this.r3obj, R3CUBEA_P1, R3TID_VECTOR, 0);
- }
-
- R3CUBEA_P2 = 152503;
- function SetR3CUBEA_P2(value) {
- R3Set(this.r3obj, R3CUBEA_P2, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CUBEA_P2() {
- return R3Get(this.r3obj, R3CUBEA_P2, R3TID_VECTOR, 0);
- }
-
- R3CUBEA_P3 = 152504;
- function SetR3CUBEA_P3(value) {
- R3Set(this.r3obj, R3CUBEA_P3, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CUBEA_P3() {
- return R3Get(this.r3obj, R3CUBEA_P3, R3TID_VECTOR, 0);
- }
-
- R3CUBEA_Width = 152505;
- function SetR3CUBEA_Width(value) {
- R3Set(this.r3obj, R3CUBEA_Width, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CUBEA_Width() {
- return R3Get(this.r3obj, R3CUBEA_Width, R3TID_FLOAT, 0);
- }
-
- R3CUBEA_Height = 152506;
- function SetR3CUBEA_Height(value) {
- R3Set(this.r3obj, R3CUBEA_Height, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CUBEA_Height() {
- return R3Get(this.r3obj, R3CUBEA_Height, R3TID_FLOAT, 0);
- }
-
- R3CUBEA_Depth = 152507;
- function SetR3CUBEA_Depth(value) {
- R3Set(this.r3obj, R3CUBEA_Depth, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CUBEA_Depth() {
- return R3Get(this.r3obj, R3CUBEA_Depth, R3TID_FLOAT, 0);
- }
-
- R3CUBEA_Infinite = 152508;
- function SetR3CUBEA_Infinite(value) {
- R3Set(this.r3obj, R3CUBEA_Infinite, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CUBEA_Infinite() {
- return R3Get(this.r3obj, R3CUBEA_Infinite, R3TID_INTEGER, 0);
- }
-
- R3CUBEA_Uncovered1 = 152509;
- function SetR3CUBEA_Uncovered1(value) {
- R3Set(this.r3obj, R3CUBEA_Uncovered1, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CUBEA_Uncovered1() {
- return R3Get(this.r3obj, R3CUBEA_Uncovered1, R3TID_INTEGER, 0);
- }
-
- R3CUBEA_Uncovered2 = 152510;
- function SetR3CUBEA_Uncovered2(value) {
- R3Set(this.r3obj, R3CUBEA_Uncovered2, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CUBEA_Uncovered2() {
- return R3Get(this.r3obj, R3CUBEA_Uncovered2, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Cube () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_CUBE, arguments);
- }
- // Attributes
- this.GetP0=GetR3CUBEA_P0;
- this.SetP0=SetR3CUBEA_P0;
- this.GetP1=GetR3CUBEA_P1;
- this.SetP1=SetR3CUBEA_P1;
- this.GetP2=GetR3CUBEA_P2;
- this.SetP2=SetR3CUBEA_P2;
- this.GetP3=GetR3CUBEA_P3;
- this.SetP3=SetR3CUBEA_P3;
- this.GetWidth=GetR3CUBEA_Width;
- this.SetWidth=SetR3CUBEA_Width;
- this.GetHeight=GetR3CUBEA_Height;
- this.SetHeight=SetR3CUBEA_Height;
- this.GetDepth=GetR3CUBEA_Depth;
- this.SetDepth=SetR3CUBEA_Depth;
- this.GetInfinite=GetR3CUBEA_Infinite;
- this.SetInfinite=SetR3CUBEA_Infinite;
- this.GetUncovered1=GetR3CUBEA_Uncovered1;
- this.SetUncovered1=SetR3CUBEA_Uncovered1;
- this.GetUncovered2=GetR3CUBEA_Uncovered2;
- this.SetUncovered2=SetR3CUBEA_Uncovered2;
- }
-
- r3Cube.prototype=new r3Primitive;
- // r3cube.h_H